package com.pactera.madp.cp.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * @description:企业日数据
 */
@TableName("cp_corp_day_data")
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "企业日数据")
public class CorpDayEntity  extends BaseEntity<CorpDayEntity> {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "企业id")
    private Integer corpId;

    @ApiModelProperty(value = "新增客户数")
    private Integer addContactNum = 0;

    @ApiModelProperty(value = "新增社群数")
    private Integer addRoomNum = 0;

    @ApiModelProperty(value = "新增入群数")
    private Integer addIntoRoomNum = 0;

    @ApiModelProperty(value = "流失客户数")
    private Integer lossContactNum = 0;

    @ApiModelProperty(value = "退群数")
    private Integer quitRoomNum = 0;

    @ApiModelProperty(value = "日期")
    private Date date;
}
